package com.bigdata.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.bigdata.entity.NWQualityRank;
import java.util.List;

@Mapper
public interface NWQualityRankMapper {
    // 获取所有运营商的平均数据
    List<NWQualityRank> getAllOperatorsData(
            @Param("startTime") Long startTime,
            @Param("endTime") Long endTime,
            @Param("qualityField") String qualityField
    );

    // 获取单个运营商的数据
    List<NWQualityRank> getOperatorData(
            @Param("startTime") Long startTime,
            @Param("endTime") Long endTime,
            @Param("operator") String operator,
            @Param("qualityField") String qualityField
    );
}